package com.aizuda.boot.modules.business.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Schema(description = "合同附件确认表实体")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("contract_attachment_confirm")
public class ContractAttachmentConfirmEntity {
    
    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    @Schema(description = "合同ID")
    private Integer contractId;
    
    @Schema(description = "文件ID")
    private Integer fileId;
    
    @Schema(description = "用户ID")
    private Long userId;
    
    @Schema(description = "是否已确认（0-未确认，1-已确认）")
    private Integer isConfirmed;
    
    @Schema(description = "创建时间")
    private LocalDateTime createAt;
} 